package com.xinsoft.entity.po;

import com.xinsoft.common.BaseEntity;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 采购计划明细
 * @TableName scm_purchase_plan_item
 */
@Data
public class ScmPurchasePlanItem {

    private Integer id;

    /**
     * 采购计划ID
     */
    private Integer purchasePlanId;

    /**
     * 物料ID
     */
    private Integer materialId;

    /**
     * 请购数量
     */
    private BigDecimal needNum;

    /**
     * 含税单价
     */
    private BigDecimal taxUnitPrice;

    /**
     * 不含税单价
     */
    private BigDecimal unitPrice;

    /**
     * 税率
     */
    private BigDecimal tax;

    /**
     * 含税总价
     */
    private BigDecimal taxTotalPrice;

    /**
     * 不含税总价
     */
    private BigDecimal totalPrice;

    /**
     * 源单类型
     */
    private Integer sourceType;

    /**
     * 源单code
     */
    private String sourceCode;

    /**
     * 源单ID
     */
    private Integer sourceId;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 辅助单位
     */
    private Integer supportUom;

    /**
     * 换算系数
     */
    private BigDecimal convCoefficient;

    private static final long serialVersionUID = 1L;

}